package cn.iocoder.yudao.module.book.dal.mysql.classesAndMember;

import cn.iocoder.yudao.framework.common.pojo.PageResult;
import cn.iocoder.yudao.framework.mybatis.core.query.LambdaQueryWrapperX;
import cn.iocoder.yudao.framework.mybatis.core.mapper.BaseMapperX;
import cn.iocoder.yudao.module.book.dal.dataobject.classesAndMember.ClassesAndMember;
import org.apache.ibatis.annotations.Mapper;
import cn.iocoder.yudao.module.book.controller.admin.classes.vo.*;
import org.apache.ibatis.annotations.Param;

/**
 * 班级 Mapper
 *
 * @author xi
 */
@Mapper
public interface ClassesAndMemberMapper extends BaseMapperX<ClassesAndMember> {

    void insertData(@Param("classId") Integer classId, @Param("memberId") Integer memberId);

    boolean existMember(@Param("membersId") Integer membersId,@Param("classesId") Integer classesId);
}
